package com.jr9z.jrjz.dao;

import com.jr9z.jrjz.entity.Recruit;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RecruitMapper {
    int deleteByPrimaryKey(Integer recruitId);

    int insert(Recruit record);

    int insertSelective(Recruit record);

    Recruit selectByPrimaryKey(Integer recruitId);

    int updateByPrimaryKeySelective(Recruit record);

    int updateByPrimaryKey(Recruit record);

    /**
     * @Description:获取招聘信息条数
     * @date: 15:23 2019-3-28
     * @param:
     * @return: java.lang.Long
     */
    Long  getRecruitCount();

    /**
     * @Description:查询全部招聘信息（分页）
     * @date: 15:26 2019-3-28
     * @param:
     * @return: java.util.List<com.jr9z.jrjz.entity.Recruit>
     */
    List<Recruit> getAllRecruit();
}